<!--
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-04 11:08:51
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-09-04 13:00:42
 * @FilePath: \zjgxpt\zdgy\src\views\PCManage\pieManage\monitoringDetail\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
    <FormLyout @yj_saveForm="yj_saveForm" :isSave="isSave">

        <template v-slot:formcon>
            <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
                <el-menu-item index="1">检测任务信息</el-menu-item>
                <el-menu-item index="2">基桩工程信息</el-menu-item>
            </el-menu>
            <publicForm v-if="activeIndex == '1'" projectName="fProjectname" fCompanyname="fCompanyname" ref="publicForm"
                :formObj="formObj" :formData="formData" :timestamp="formData.fDesignfile" :fileList="fPhotofilelist"
                @delteFile="delteFile">
            </publicForm>
            <div class="taskBox">

                <tableData v-if="activeIndex == '2'" height="100%" :config="table_config" :dataList="pierfoundationList"
                    @click-change="rowChange" />

                <div style="height: 40px">
                    <div style="position: absolute; left: 15px; bottom: 0" v-show="activeIndex == '2'">
                        <button class="jzBtn" v-show="!see" @click="newList('0')">
                            +
                        </button>
                        <button class="jzBtn" v-show="!see" @click="newList('1')">
                            -
                        </button>
                    </div>

                </div>
            </div>


        </template>
        <messageBox :showMsgBox="showMsgBox" :msgTip="msgTip" :msgType="msgType" @confirmMsg="confirmMsg"></messageBox>

    </FormLyout>
</template>
<script src="./index">

</script>
<style scoped lang="less">
@import './index.less';
</style>